package cn.iocoder.an.module.business.dal.dataobject.equipmentcheckplan;

import com.baomidou.mybatisplus.extension.handlers.JacksonTypeHandler;
import lombok.*;
import java.util.*;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.*;
import cn.iocoder.an.framework.mybatis.core.dataobject.BaseDO;

/**
 * 点检计划 DO
 *
 * @author zzy
 */
@TableName(value = "business_equipment_check_plan", autoResultMap = true)
@KeySequence("business_equipment_check_plan_seq") // 用于 Oracle、PostgreSQL、Kingbase、DB2、H2 数据库的主键自增。如果是 MySQL 等数据库，可不写。
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class EquipmentCheckPlanDO extends BaseDO {

    /**
     * id
     */
    @TableId
    private Long id;
    /**
     * 计划名称
     */
    private String name;
    /**
     * 点检频率
     *
     * 枚举 {@link TODO check_repeat 对应的类}
     */
    private BigDecimal checkRepeat;
    /**
     * 点检对象
     */
    @TableField(typeHandler = JacksonTypeHandler.class)
    private List<Long> equipmentTypeId;
    /**
     * 点检对象名称
     */
    private String equipmentTypeName;


}